<?php
/*
Template Name: 联系客服页
*/
get_header();
$bottom_ty = trailingslashit(get_stylesheet_directory_uri()). '/assets/images/admin/service/bottom_ty.png';
$relationQQ = trailingslashit(get_stylesheet_directory_uri()). '/assets/images/admin/service/relationQQ.png';

//联系客服页CSS
wp_enqueue_style('service', trailingslashit(get_stylesheet_directory_uri()) . 'assets/css/pages/service.css?van_ver=' . VAN_VER);
?>
    <div class="contactUs">
        <div class="publicHeader min_wrapper_1200">
            <div class="headerBg" style="background: url(<?php echo _van("service_bg"); ?>) center 0 no-repeat;"></div>
            <div class="text wrapper_1200">
                <div class="title"><?php echo _van("service_title"); ?></div>
                <div class="infor"><?php echo _van("service_text"); ?></div>
                <div class="img">
                    <a href="#service">在线沟通</a>
                </div>
            </div>
        </div>
        <div class="wrapper_1200">
            <div class="contact">
                <div class="title" id="service">联系我们</div>
            </div>
        </div>
    </div>
     <div class="wsycms_information div1">
        <h1><?php echo _van("service_one"); ?></h1>
        <table class="information_table">
            <tbody>
                <tr width="100%">
                    <th width="15%">销售客服</th>
                    <th width="10%">联系QQ</th>
                    <th width="20%">微信号</th>
                    <th width="15%">在线咨询</th>
                    <th width="20%">负责业务</th>
                </tr>
            <?php foreach(_van("service_one_content") as $key => $value){ ?>
                <tr>
                    <td><?php echo $value["service_name"]; ?></td>
                    <td><?php echo $value["service_qq"]; ?></td>
                    <td><?php echo $value["service_wx"]; ?></td>
                    <td>
                        <a href="http://wpa.qq.com/msgrd?v=3&uin=<?php echo $value["service_qq"]; ?>&site=qq&menu=yes" target="_blank" rel="nofollow">
                            <img src="<?php echo $relationQQ ?>">
                        </a>
                    </td>
                    <td>
                        <a style="font-size:18px;color:#00a8ee;"><?php echo $value["service_business"]; ?></a>
                    </td>
                </tr>
            <?php } ?>
            </tbody>
        </table>
        <img src="<?php echo $bottom_ty ?>">
    </div>
    <div class="wsycms_information div1">
        <h1><?php echo _van("service_two"); ?></h1>
        <table class="information_table">
            <tbody>
                <tr width="100%">
                    <th width="15%">商务合作</th>
                    <th width="10%">联系QQ</th>
                    <th width="20%">微信号</th>
                    <th width="15%">在线咨询</th>
                    <th width="20%">负责业务</th>
                </tr>
                <?php foreach(_van("service_two_content") as $key => $value){ ?>
                <tr>
                    <td><?php echo $value["service_name"]; ?></td>
                    <td><?php echo $value["service_qq"]; ?></td>
                    <td><?php echo $value["service_wx"]; ?></td>
                    <td>
                        <a href="http://wpa.qq.com/msgrd?v=3&uin=<?php echo $value["service_qq"]; ?>&site=qq&menu=yes" target="_blank" rel="nofollow">
                            <img src="<?php echo $relationQQ ?>">
                        </a>
                    </td>
                    <td>
                        <a style="font-size:18px;color:#00a8ee;"><?php echo $value["service_business"]; ?></a>
                    </td>
                </tr>
            <?php } ?>
            </tbody>
        </table>
        <img src="<?php echo $bottom_ty ?>">
    </div>
    </div>
<?php get_footer(); ?>